package com.neuedu.weatherapi.service.impl;
import com.neuedu.weatherapi.mapper.WeatherQualityIndexMapper;
import com.neuedu.weatherapi.pojo.WeatherQualityIndex;
import com.neuedu.weatherapi.service.WeatherQualityIndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class WeatherQualityIndexServiceImpl  implements WeatherQualityIndexService {
    @Autowired
    private WeatherQualityIndexMapper weatherQualityIndexMapper;
    @Override
    public List<WeatherQualityIndex> queryAllWeatherQualityIndex() {
        return weatherQualityIndexMapper.queryAllWeatherQualityIndex();
    }
}
